home *** CD-ROM | disk | FTP | other *** search
/ Star Festival... a Return to Japan / Star Festival... a Return to Japan.iso / pc / STARFESTIVAL / 12d1.dir / 00001.ls next >
Encoding:
Text File  |  1999-04-27  |  1.7 KB  |  63 lines

  1. on startMovie
  2.   global qtChan, gKnobSprite
  3.   sprite(10).visible = 0
  4.   puppetSprite(46, 1)
  5.   qtChan = 11
  6.   sprite(qtChan).volume = 256
  7.   preLoad(qtChan - 1)
  8.   set the mouseDownScript to EMPTY
  9.   set the mouseUpScript to EMPTY
  10.   gKnobSprite = 28
  11.   setUpKnob()
  12. end
  13.  
  14. on idle
  15.   global gCursorReady
  16.   if gCursorReady = 1 then
  17.     cursor(200)
  18.     checkCursors()
  19.     set the locH of sprite 46 to the mouseH
  20.     set the locV of sprite 46 to the mouseV
  21.     updateStage()
  22.   end if
  23. end
  24.  
  25. on checkCursors
  26.   global gMagCursor
  27.   set the castNum of sprite 46 to the number of member "curs1"
  28.   if rollOver(5) then
  29.     set the castNum of sprite 46 to the number of member "hotCursor"
  30.   end if
  31.   if rollOver(6) then
  32.     set the castNum of sprite 46 to the number of member "hotCursor"
  33.   end if
  34.   if rollOver(7) then
  35.     set the castNum of sprite 46 to the number of member "curs1"
  36.   end if
  37.   if the castNum of sprite 12 and rollOver(12) then
  38.     set the castNum of sprite 46 to the number of member "hotCursor"
  39.   end if
  40.   if the castNum of sprite 13 and rollOver(13) then
  41.     set the castNum of sprite 46 to the number of member "linkCurs"
  42.   end if
  43.   if the castNum of sprite 14 and rollOver(14) then
  44.     set the castNum of sprite 46 to the number of member "linkCurs"
  45.   end if
  46.   if rollOver(27) then
  47.     set the castNum of sprite 46 to the number of member "hotCursor"
  48.   end if
  49.   repeat with i = 33 to 35
  50.     if rollOver(i) then
  51.       set the castNum of sprite 46 to the number of member "hotCursor"
  52.     end if
  53.   end repeat
  54.   if rollOver(36) then
  55.     set the castNum of sprite 46 to the number of member "hotCursor"
  56.   end if
  57.   repeat with i = 40 to 43
  58.     if rollOver(i) then
  59.       set the castNum of sprite 46 to the number of member "hotCursor"
  60.     end if
  61.   end repeat
  62. end
  63.